package study.day5.t8;

public class T8 {
    public static void main(String[] args) {
        Grandpa grandpa = new Grandpa();
        String[] types={"cat","dog","pig"};
        for(String type:types){
            Animal animal = grandpa.blowAnimal(type);
            animal.getShape();
        }
    }
}
